package cn.leaf.uc.api.mapper;

import cn.leaf.uc.api.entity.RoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper extends BaseMapper<RoleEntity> {
    int updateBatch(List<RoleEntity> list);

    int updateBatchSelective(List<RoleEntity> list);

    int batchInsert(@Param("list") List<RoleEntity> list);

    int insertOrUpdate(RoleEntity record);

    int insertOrUpdateSelective(RoleEntity record);
}